﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class GetPageCount
    {
        public static int PageCount(int pageSize, int totleCount)
        {
            return Convert.ToInt32(Math.Ceiling((double)totleCount / pageSize));//总的页数.
        }
    }
}
